package com.webreport.model.db;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
@Entity
@Table(name="rp")
@IdClass(RoleReportId.class)
public class RoleReport implements java.io.Serializable{
	private static final long serialVersionUID = 5082274713358330912L;
	@Id	@Column(nullable=false, length=50,name="a")
	private String rolename;
	@Id	@Column(nullable=false, length=50,name="b")
	private String reportid;
	@Column(nullable=false, length=50,name="c")
	private boolean managed;
	
	public String getRolename() {
		return rolename;
	}
	
	public void setRolename(String rolename) {
		this.rolename = rolename;
	}
	
	public String getReportid() {
		return reportid;
	}
	
	public void setReportid(String reportid) {
		this.reportid = reportid;
	}

	public boolean isManaged() {
		return managed;
	}

	public void setManaged(boolean managed) {
		this.managed = managed;
	}
	
}
